import pyautogui as pg #命令行输入pip install pyautogui
import time
pg.hotkey("win","r")
time.sleep(1)
pg.write("cmd",interval=1)
pg.press("enter")
time.sleep(1)
pg.write(" python",interval=0.5)
time.sleep(1)
pg.press("enter")
time.sleep(1)
pg.write(" print(100)",interval=0.5)
pg.press("enter")



